
#ifndef UART_HEADER_TEMPLATE_H
#define UART_HEADER_TEMPLATE_H

#include <xc.h> // include processor files - each processor file is guarded.
#include "stdint.h"
#include <pic18f8628.h>

void usart1_init(void);
void usart2_init(void);
void UART1SendByte(unsigned char byte);
void UART2SendByte(unsigned char byte);
void UART1SendString(unsigned char *str);
void UART2SendString(unsigned char *str);
void UART1SendNByte(unsigned char *uartArray, unsigned char size);
void UART2SendNByte(unsigned char *uartArray, unsigned char size);
void UART2SendSCRIDCONID(unsigned char ConID);
void UART2BeginSend();
void UART2EndSend();
void UART2SendInt(uint8_t ControID, uint16_t Data);
void UART2SendFloat(uint8_t ControID, uint16_t Data);

#endif /* XC_HEADER_TEMPLATE_H */
